<!DOCTYPE HTML>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript" src="../../../src/base/_core.js"></script>
    <script type="text/javascript" src="../../../src/base/function.js"></script>
</head>
<body>
<script type="text/javascript">
   function test(word){
       console.log('hello '+(word || 'word'));
   }

   function delay(fn,delay){
       var agrs=Array.prototype.slice.call(arguments,2)
       return setTimeout(function(){
           fn.apply(null,agrs);
       },delay);
   }

    //delay(test,5000);
    //TODO:clearTimeout?
    //line.defer(test,'defer test!');
    //line.delay(test,3000,'defer test!');

   





</script>
</body>
</html>